package com.example.carinterface.service.dl.admin;

import com.example.carinterface.utils.ResultJson;

import java.util.List;
import java.util.Map;

public interface CustomerService {
    ResultJson<List<Map<String, Object>>> findCustomer(Map<String, String> map);

    ResultJson<String> addCustomer(Map<String, Object> map);

    ResultJson<String> updateCustomer(Map<String, Object> map);

    ResultJson<String> updateOwnerCard(Map<String, Object> map);

    ResultJson<List<Map<String, Object>>> findBrand(Map<String,Object> map);

    ResultJson<List<Map<String, Object>>> findDriver(Map<String, Object> map);

    ResultJson<String> addDriver(Map<String, Object> map);

    ResultJson<List<Map<String, Object>>> findCarModel(Integer id);

    ResultJson<String> updateDriver(Map<String, Object> map);
}
